﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using myBoard.App.MagnetStore;

namespace myBoard.App.Components.MagnetsStore.ViewsModels
{
    public class UserViewModel : INotifyPropertyChanged
    {
        User _user;

        public string Nickname 
        {
            get { return _user.Nickname; }
        }

        public string AvatarUrl
        {
            get { return _user.AvatarUrl; }
        }

        public UserViewModel(User user)
        {
            _user = user;
        }

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion
    }
}
